﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using AssetManagementSystem.Model;
using AssetManagementSystem.Utils;
using AssetManagementSystem.Utils.Events;

namespace AssetManagementSystem.View.IView {
    interface IGroupView {

        void SetGroupList(List<Group> groups);
        void ShowMessage(string message);

        //Events to retrieve data
        event EventHandler Groups_LoadAll;
        event EventHandler<SearchEventArgs> Groups_Find;

        //Events to store/update data
        event EventHandler<GroupEventArgs> Group_Create;
        event EventHandler<GroupEventArgs> Group_Update;

        //delete data
        event EventHandler<GroupEventArgs> Group_Delete;
        event EventHandler<GroupPropertiesEventArgs> GroupProperty_Delete;
    }
}